# Created By Thief (escsunarcher@gmail.com)

pkgname=urtconnector
pkgver=0.3.0
pkgrel=1
pkgdesc="Advanced UrbanTerror launcher program. Developed by members of russian clans =Xaoc=, Red*Army and Rus Devils Team. 
This program uses Qt4 and is written in C++."
arch=('i686' 'x86_64')
license=('GPL')
url="http://code.google.com/p/urtconnector"
depends=('qt>=4.6.2' 'qstat')
makedepends=('pkgconfig' 'cmake>=2.6' 'subversion' 'boost')
conflicts=('urtconnector-svn')
provides=('urtconnector')
source=("http://code.google.com/p/urtconnector/urtconnector-${pkgver}.tar.gz")
md5sums=('e8350557f97da1186e4a6333c2d8aa09')

build() {
  	cd $srcdir/urtconnector-$pkgver/src || return 1
  cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
}
